#include "BulletDynamics/Featherstone/btMultiBodyJointMotor.h"
#ifdef __cplusplus
extern "C" {
#endif
btMultiBodyJointMotor* bullet_NewbtMultiBodyJointMotor(btMultiBody* body,int link,double desiredVelocity,double maxMotorImpulse){
	btMultiBody * c_arg_body=(btMultiBody *)(void*)(body);
	int c_arg_link=link;
	btScalar c_arg_desiredVelocity=desiredVelocity;
	btScalar c_arg_maxMotorImpulse=maxMotorImpulse;
	btMultiBodyJointMotor* wrap_out = new btMultiBodyJointMotor(c_arg_body,c_arg_link,c_arg_desiredVelocity,c_arg_maxMotorImpulse);
	return wrap_out;
}

btMultiBodyJointMotor* bullet_NewbtMultiBodyJointMotor1(btMultiBody* body,int link,int linkDoF,double desiredVelocity,double maxMotorImpulse){
	btMultiBody * c_arg_body=(btMultiBody *)(void*)(body);
	int c_arg_link=link;
	int c_arg_linkDoF=linkDoF;
	btScalar c_arg_desiredVelocity=desiredVelocity;
	btScalar c_arg_maxMotorImpulse=maxMotorImpulse;
	btMultiBodyJointMotor* wrap_out = new btMultiBodyJointMotor(c_arg_body,c_arg_link,c_arg_linkDoF,c_arg_desiredVelocity,c_arg_maxMotorImpulse);
	return wrap_out;
}

#ifdef __cplusplus
}
#endif
